
export class Track {
    public title: string;
    public streamUrl: string;
    public artworkUrl: string;
    
    constructor(t: string, s: string, a: string) {
      this.title = t;
      this.streamUrl = s;
      this.artworkUrl = a;
    }
  
    public toString = (): string => {
      return `<<Track>>\n\t title:${this.title}\n\t stream_url:${this.streamUrl}\n\t artwork_url:${this.artworkUrl}`;
    }
  }

export  enum PlayMode {
    RANDOM,
    ALL,
    SINGLE,
}